/*
 * @Author       : ljkt
 * @Version      : 1.0
 * @Date         : 2021-10-08 09:29:52
 * @LastEditors: ljkt
 * @LastEditTime: 2025-04-04 14:41:11
 * @Description  :
 */

#ifndef _DEV_IOPRINT_H_
#define _DEV_IOPRINT_H_
#include "Common_Def.h"
// #define EN_PUTCHAR 1
// #define PRINT_SPEED_LOW

#define Dev_IoPrint_Tx_Bit(x) //(HAL_GPIO_PORT_PIN_SET(3, 4, x)) // 806451

extern void Dev_IoPrint_Init(void);
extern void Dev_IoPrint_Baud(void);
extern void Dev_IoPrint_Hex(unsigned char *addr, unsigned char len);
extern void Dev_IoPrint_Str_DecStr(CONST_RAM char *str, signed long dat);
extern void Dev_IoPrint_N_Str_DecStr(CONST_RAM char *str, unsigned char offset, signed long *dat, unsigned char cnt);
extern void Dev_IoPrint_Str_Buf2DecStr(CONST_RAM char *str, unsigned char index, signed long dat);
extern void Dev_IoPrint_Scan(void);
extern void Dev_IoPrint_Str_1Byte_Hex(CONST_RAM char *str, unsigned char dat);
extern void Dev_IoPrint_4Byte_HexStr(CONST_RAM char *str, unsigned long dat);
extern void Dev_IoPrint_Str_Buf2HexStr(CONST_RAM char *str, signed char *dat, unsigned short len);

#endif
